//
//  RequestWork.h
//  WisdomShope
//
//  Created by mac on 15/12/26.
//  Copyright (c) 2015年 ZY. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "AFNetworking.h"

@interface RequestWork : NSObject

#pragma mark AFN get请求
+ (void)afGetHttpWihtRUL:(NSString *)urlString wihtParmas:(NSDictionary *)parmas successBackBlock:(void(^)(id responsobject))successBlock fileBackBlock:(void(^)(id reponsobject))fileBlock;
#pragma mark post
+ (void)POSTOfAFNWithURL:(NSString *)url pamars:(NSDictionary *)pamars successBackBlock:(void(^)(id responsobject))successBlock fileBackBlock:(void(^)(id reponsobject))fileBlock;
#pragma mark AFN POST请求 form Data
+ (void)sendWeiboUseAFNetWoringWithURL:(NSString *)url pamars:(NSDictionary *)pamars successBackBlock:(void(^)(id responsobject))successBlock fileBackBlock:(void(^)(id reponsobject))fileBlock;

#pragma mark NSURLSession
+ (void)httpRequestWithURL:(NSString *)urlString parmas:(NSDictionary *)parmas httpMethod:(NSString *)method successBackBlock:(void(^)(id responsobject))successBlock fileBackBlock:(void(^)(id reponsobject))fileBlock;

#pragma mark put
+ (void)sendputwith:(NSString *)url parmas:(NSDictionary *)parmas successBackBlock:(void(^)(id responsobject))successBlock fileBackBlock:(void(^)(id reponsobject))fileBlock;

#pragma mark 上传图片avatar
+ (void)changeUserImageUseAFNetWoringWithURL:(NSString *)url parmas:(NSDictionary *)parmas imageFileName:(NSString *)filName image:(UIImage *)image successBackBlock:(void(^)(id responsobject))successBlock fileBackBlock:(void(^)(id reponsobject))fileBlock;

#pragma mark 上传视频
+ (void)upMoveWithURL:(NSString *)url pamars:(NSString *)pamars successBackBlock:(void(^)(id responsobject))successBlock fileBackBlock:(void(^)(id reponsobject))fileBlock;

#pragma mark 上传多张图片
+ (void)upMoreImageURL:(NSString *)url pamars:(NSDictionary *)normalPamars picture:(UIImage *)pictureimage imgArr:(NSArray *)imgArr successBackBlock:(void(^)(id responsobject))successBlock fileBackBlock:(void(^)(id reponsobject))fileBlock;
#pragma mark 判断是否多账号登录
+ (void)isMoreLoginWithDIction:(id)responseObject;


@end
